<?



Class Flashbox
{
var $domain_url="http://flashbox.com.ua/";
#var $domain_url="http://flashbox.com.ua/api_processing_new.php?mode=GetTicketsList&api_key=xxx&event_id=5165";
 
var $__pid="d6e4201df4ccb5fcfeb0c10f8efefafb";
//var $login="info_kas1";
//var $password="info_kassa";
var $auth;
var $api_dead=false;
       function show_event_info($id)
        {
        $html='<!-- flashbox -->';
        $html.='<div class="flashbox">';
        #onclick='window.open(\"http://internet-bilet.ua/events/item.html?event_id=".$event->field_inet_bilet_value."&partner=infopark\")'
        $html.="<a onclick='_gaq.push([\"_trackEvent\", \"buy_ticket\", \"way_of_buying\",\"flashbox\"]);window.open(\"http://infopark.kvutku.com/clone_new/shema.php?kassa_id=4734b&event_id=".$id."\")' href='javascript://'><div class=ticketsystem></div></a>";
        
        $html.="<input type='button' class='provider_btn operatorbtn' value='Купить через Flashbox' onclick='_gaq.push([\"_trackEvent\", \"buy_ticket\", \"way_of_buying\",\"flashbox\"]);window.open(\"http://infopark.kvutku.com/clone_new/shema.php?kassa_id=4734b&event_id=".$id."\")'>";
        $html.='</div>';
       # $html.='<script src="http://internet-bilet.ua/events/partner-js?event_id='.$id.'&partner=infopark&js_id=55800" type="text/javascript" charset="utf-8"></script>'; 
    #     $html.='<!-- /internet bilet/ -->';     
       #  $html.='<Script>setTimeout(function(){chk_ib()}, 1000);</script>';
         return $html;
        }
	
}
?>